package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * cpu使用信息
 *
 * @author shan
 * @date 2022/07/04
 */
public class CpuUse implements Serializable {
    
    private Double userRate;
    private Double sysRate;
    private Double waitRate;
    private Double niceRate;
    private Double leiRate;
    private Double useRate;

    public CpuUse() {
    }

    public CpuUse(Double userRate, Double sysRate, Double waitRate, Double niceRate, Double leiRate, Double useRate) {
        this.userRate = userRate;
        this.sysRate = sysRate;
        this.waitRate = waitRate;
        this.niceRate = niceRate;
        this.leiRate = leiRate;
        this.useRate = useRate;
    }

    public Double getUserRate() {
        return userRate;
    }

    public void setUserRate(Double userRate) {
        this.userRate = userRate;
    }

    public Double getSysRate() {
        return sysRate;
    }

    public void setSysRate(Double sysRate) {
        this.sysRate = sysRate;
    }

    public Double getWaitRate() {
        return waitRate;
    }

    public void setWaitRate(Double waitRate) {
        this.waitRate = waitRate;
    }

    public Double getNiceRate() {
        return niceRate;
    }

    public void setNiceRate(Double niceRate) {
        this.niceRate = niceRate;
    }

    public Double getLeiRate() {
        return leiRate;
    }

    public void setLeiRate(Double leiRate) {
        this.leiRate = leiRate;
    }

    public Double getUseRate() {
        return useRate;
    }

    public void setUseRate(Double useRate) {
        this.useRate = useRate;
    }

    @Override
    public String toString() {
        return "CpuUse{" +
                "userRate=" + userRate +
                ", sysRate=" + sysRate +
                ", waitRate=" + waitRate +
                ", niceRate=" + niceRate +
                ", leiRate=" + leiRate +
                ", useRate=" + useRate +
                '}';
    }
}
